# coding=utf-8
from google.appengine.ext import db

class WebSite(db.Model):
	title = db.StringProperty( default = '没有比人更高的山' )
	subtitle = db.StringProperty( default = 'Where There is a Will There is a Way' )
	blog_entry_count = db.IntegerProperty( default = 0 )
	posts_per_page = db.IntegerProperty( default = 5 )
	rss_url = db.StringProperty( default = '/rss/' )

class Menu(db.Model):
	name = db.StringProperty(required = True)
	url = db.StringProperty(required = True)
	target = db.StringProperty(required = True, default = '_self')
	order = db.IntegerProperty(required = True, default = 0)

